3.8.94 \(\int \frac {c d^2+2 c d e x+c e^2 x^2}{(d+e x)^2} \, dx\)

Optimal. Leaf size=3 \[ c x \]

________________________________________________________________________________________

Rubi [A]  time = 0.00, antiderivative size = 3, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 28, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.107, Rules used = {24, 21, 8} \begin {gather*} c x \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(c*d^2 + 2*c*d*e*x + c*e^2*x^2)/(d + e*x)^2,x]

[Out]

c*x

Rule 8

Int[a_, x_Symbol] :> Simp[a*x, x] /; FreeQ[a, x]

Rule 21

Int[(u_.)*((a_) + (b_.)*(v_))^(m_.)*((c_) + (d_.)*(v_))^(n_.), x_Symbol] :> Dist[(b/d)^m, Int[u*(c + d*v)^(m +
 n), x], x] /; FreeQ[{a, b, c, d, n}, x] && EqQ[b*c - a*d, 0] && IntegerQ[m] && ( !IntegerQ[n] || SimplerQ[c +
 d*x, a + b*x])

Rule 24

Int[(u_.)*((a_) + (b_.)*(v_))^(m_)*((A_.) + (B_.)*(v_) + (C_.)*(v_)^2), x_Symbol] :> Dist[1/b^2, Int[u*(a + b*
v)^(m + 1)*Simp[b*B - a*C + b*C*v, x], x], x] /; FreeQ[{a, b, A, B, C}, x] && EqQ[A*b^2 - a*b*B + a^2*C, 0] &&
 LeQ[m, -1]

Rubi steps

\begin {align*} \int \frac {c d^2+2 c d e x+c e^2 x^2}{(d+e x)^2} \, dx &=\frac {\int \frac {c d e^2+c e^3 x}{d+e x} \, dx}{e^2}\\ &=c \int 1 \, dx\\ &=c x\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.00, size = 3, normalized size = 1.00 \begin {gather*} c x \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(c*d^2 + 2*c*d*e*x + c*e^2*x^2)/(d + e*x)^2,x]

[Out]

c*x

________________________________________________________________________________________

IntegrateAlgebraic [B]  time = 0.03, size = 10, normalized size = 3.33 \begin {gather*} \frac {c (d+e x)}{e} \end {gather*}

Antiderivative was successfully verified.

[In]

IntegrateAlgebraic[(c*d^2 + 2*c*d*e*x + c*e^2*x^2)/(d + e*x)^2,x]

[Out]

(c*(d + e*x))/e

________________________________________________________________________________________

fricas [A]  time = 0.36, size = 3, normalized size = 1.00 \begin {gather*} c x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((c*e^2*x^2+2*c*d*e*x+c*d^2)/(e*x+d)^2,x, algorithm="fricas")

[Out]

c*x

________________________________________________________________________________________

giac [C]  time = 0.17, size = 110, normalized size = 36.67 \begin {gather*} -2 \, {\left (e^{\left (-1\right )} \log \left (\frac {{\left | x e + d \right |} e^{\left (-1\right )}}{{\left (x e + d\right )}^{2}}\right ) - \frac {d e^{\left (-1\right )}}{x e + d}\right )} c d + {\left (2 \, d e^{\left (-3\right )} \log \left (\frac {{\left | x e + d \right |} e^{\left (-1\right )}}{{\left (x e + d\right )}^{2}}\right ) + {\left (x e + d\right )} e^{\left (-3\right )} - \frac {d^{2} e^{\left (-3\right )}}{x e + d}\right )} c e^{2} - \frac {c d^{2} e^{\left (-1\right )}}{x e + d} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((c*e^2*x^2+2*c*d*e*x+c*d^2)/(e*x+d)^2,x, algorithm="giac")

[Out]

-2*(e^(-1)*log(abs(x*e + d)*e^(-1)/(x*e + d)^2) - d*e^(-1)/(x*e + d))*c*d + (2*d*e^(-3)*log(abs(x*e + d)*e^(-1
)/(x*e + d)^2) + (x*e + d)*e^(-3) - d^2*e^(-3)/(x*e + d))*c*e^2 - c*d^2*e^(-1)/(x*e + d)

________________________________________________________________________________________

maple [A]  time = 0.05, size = 4, normalized size = 1.33 \begin {gather*} c x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((c*e^2*x^2+2*c*d*e*x+c*d^2)/(e*x+d)^2,x)

[Out]

c*x

________________________________________________________________________________________

maxima [A]  time = 1.37, size = 3, normalized size = 1.00 \begin {gather*} c x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((c*e^2*x^2+2*c*d*e*x+c*d^2)/(e*x+d)^2,x, algorithm="maxima")

[Out]

c*x

________________________________________________________________________________________

mupad [B]  time = 0.01, size = 3, normalized size = 1.00 \begin {gather*} c\,x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((c*d^2 + c*e^2*x^2 + 2*c*d*e*x)/(d + e*x)^2,x)

[Out]

c*x

________________________________________________________________________________________

sympy [A]  time = 0.08, size = 2, normalized size = 0.67 \begin {gather*} c x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((c*e**2*x**2+2*c*d*e*x+c*d**2)/(e*x+d)**2,x)

[Out]

c*x

________________________________________________________________________________________